package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.AppHealthPlateClassifyEnum;
import com.ym.medical.enums.AppHealthPlateModelEnum;
import com.ym.medical.enums.AppHealthPlateTagEnum;
import com.ym.medical.enums.DoctorJobTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : 张文博
 * @date : 2019/5/17 18:23
 */
@Data
@ApiModel(value = "用户信息")
public class UserCollectionVo {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("医生id")
    private Long doctorId;

    @ApiModelProperty("患者id")
    private Long patientId;

    @ApiModelProperty("问诊人云信账号")
    private String inquiryAccid;

    @ApiModelProperty("答复人云信账号")
    private String replyAccid;

    @ApiModelProperty("咨询开始时间")
    private Date courTimeStart;

    @ApiModelProperty("咨询结束时间")
    private Date courTimeEnd;

    @ApiModelProperty("订单id")
    private Long ioId;

    @ApiModelProperty("病情描述")
    private String illnessDesc;

    @ApiModelProperty("医院名")
    private String hosName;

    @ApiModelProperty("科室名")
    private String deptName;

    @ApiModelProperty("姓名")
    private String realName;

    @ApiModelProperty("职称")
    @JsonSerialize(converter = DoctorJobTitle.Covert.class)
    private String jobTitle;

    @ApiModelProperty("头像id")
    private String headUrl;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("话题创建时间")
    private Date createTime;

    @ApiModelProperty("文章图片")
    private String bannerImg;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("模块名")
    @JsonSerialize(converter = AppHealthPlateModelEnum.Covert.class)
    private String model;

    @ApiModelProperty("文章标签")
    @JsonSerialize(converter = AppHealthPlateTagEnum.Covert.class)
    private String tag;

    @ApiModelProperty("文章分类")
    @JsonSerialize(converter = AppHealthPlateClassifyEnum.Covert.class)
    private String classify;

    @ApiModelProperty("转发量")
    private Integer forwardNum;

    @ApiModelProperty("收藏量")
    private Integer collectNum;

    @ApiModelProperty("阅读量")
    private Integer readNum;

    /**
     * 医生职称
     */
    @ApiModelProperty("医生职称")
    private String jobTitleName;

}
